|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.justhis.xml.XMLHelper
TODO DOCUMENT ME!
Constructor Summary | |
XMLHelper()
|
Method Summary | |
static java.lang.String |
convertXMLToString(org.w3c.dom.Document doc)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
createXml()
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
createXml(java.lang.String root)
TODO DOCUMENT ME! |
static void |
main(java.lang.String[] args)
|
static void |
mergeXML(org.w3c.dom.Element mergeToXML,
org.w3c.dom.Element mergeFromXML,
boolean childrenOnly)
Copies the children of the mergeFromXML element and places them as children in the mergeToXML. |
static void |
outputTextToFile(java.lang.String text,
java.lang.String fileName)
TODO DOCUMENT ME! |
static void |
outputXML(org.w3c.dom.Document doc,
java.io.PrintStream stream)
TODO DOCUMENT ME! |
static void |
outputXMLToFile(org.w3c.dom.Document doc,
java.lang.String fileName)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
parseXMLFromFile(java.io.File f)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
parseXMLFromString(java.lang.String source)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
parseXMLFromURL(java.net.URL url)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
parseXMLFromURLString(java.lang.String url)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
transformXML(org.w3c.dom.Document xmlDoc,
org.w3c.dom.Document xslDoc)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
transformXML(org.w3c.dom.Document xmlDoc,
org.w3c.dom.Document xslDoc,
XParameters params)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
transformXML(org.w3c.dom.Document xmlDoc,
java.io.File xslFile)
TODO DOCUMENT ME! |
static org.w3c.dom.Document |
transformXML(org.w3c.dom.Document xmlDoc,
java.io.File xslFile,
XParameters params)
TODO DOCUMENT ME! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLHelper()
Method Detail |
public static java.lang.String convertXMLToString(org.w3c.dom.Document doc) throws XMLException
doc
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document createXml()
public static org.w3c.dom.Document createXml(java.lang.String root)
root
- TODO
public static void main(java.lang.String[] args)
public static void mergeXML(org.w3c.dom.Element mergeToXML, org.w3c.dom.Element mergeFromXML, boolean childrenOnly)
mergeToXML
- TODOmergeFromXML
- TODOchildrenOnly
- TODOpublic static void outputTextToFile(java.lang.String text, java.lang.String fileName) throws XMLException
text
- TODOfileName
- TODO
XMLException
- TODOpublic static void outputXML(org.w3c.dom.Document doc, java.io.PrintStream stream) throws XMLException
doc
- TODOstream
- TODO
XMLException
- TODOpublic static void outputXMLToFile(org.w3c.dom.Document doc, java.lang.String fileName) throws XMLException
doc
- TODOfileName
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document parseXMLFromFile(java.io.File f) throws XMLException
f
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document parseXMLFromString(java.lang.String source) throws XMLException
source
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document parseXMLFromURL(java.net.URL url) throws XMLException
url
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document parseXMLFromURLString(java.lang.String url) throws XMLException
url
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document transformXML(org.w3c.dom.Document xmlDoc, org.w3c.dom.Document xslDoc) throws XMLException
xmlDoc
- TODOxslDoc
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document transformXML(org.w3c.dom.Document xmlDoc, org.w3c.dom.Document xslDoc, XParameters params) throws XMLException
xmlDoc
- TODOxslDoc
- TODOparams
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document transformXML(org.w3c.dom.Document xmlDoc, java.io.File xslFile) throws XMLException
xmlDoc
- TODOxslFile
- TODO
XMLException
- TODOpublic static org.w3c.dom.Document transformXML(org.w3c.dom.Document xmlDoc, java.io.File xslFile, XParameters params) throws XMLException
xmlDoc
- TODOxslFile
- TODOparams
- TODO
XMLException
- TODO
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |